package asteroids.model.programs.expressions;

public class DoubleLiteral extends Expression {

	public DoubleLiteral(int line, int column, double d) {
		super(line, column);
		this.d = d;
	}

	@Override
	public <T> T accept(ExprEvaluator<T> ee) {
		return ee.evaluate(this);
	}
	
	public double getD() {
		return d;
	}

	private final double d;

}
